package com.imu.purse.modules.oss.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 文件上传
 * 
 * @author sunhongwei
 * @email sunhongwei@gmail.com
 * @date 2017-03-23 15:22:06
 */
public class SysOssEntity implements Serializable 
{
	private static final long serialVersionUID = 1L;
	
	//
	private Long id;
	//URL地址
	private String url;
	//创建时间
	private Date createDate;
	//原始文件名
	private String nameOri;
	//扩展名
	private String ext;
	//长度
	private Long lenByte;
	//状态 1成功 0失败
	private Integer state;

	/**
	 * 设置：
	 */
	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 获取：
	 */
	public Long getId() {
		return id;
	}
	/**
	 * 设置：URL地址
	 */
	public void setUrl(String url) {
		this.url = url;
	}
	/**
	 * 获取：URL地址
	 */
	public String getUrl() {
		return url;
	}
	
	public String getNameOri() {
		return nameOri;
	}
	
	public void setNameOri(String nameOri) {
		this.nameOri = nameOri;
	}
	
	public String getExt() {
		return ext;
	}
	
	public void setExt(String ext) {
		this.ext = ext;
	}
	
	public Long getLenByte() {
		return lenByte;
	}
	
	public void setLenByte(Long lenByte) {
		this.lenByte = lenByte;
	}
	
	public Integer getState() {
		return state;
	}
	
	public void setState(Integer state) {
		this.state = state;
	}
	
	/**
	 * 设置：创建时间
	 */
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	/**
	 * 获取：创建时间
	 */
	public Date getCreateDate() {
		return createDate;
	}
}
